﻿namespace Usr.Api
{
    public class AppWebApiDependencyRegistrar : AbstractWebApiDependencyRegistrar
    {
        public AppWebApiDependencyRegistrar(IServiceCollection services)
            : base(services)
        {
        }

        public AppWebApiDependencyRegistrar(IApplicationBuilder app)
            : base(app)
        {
        }

        public override void AddCoreWebApi()
        {
            //AddWebApiDefault<BearerAuthenticationLocalProcessor>();

            AddWebApiDefault();
        }

        public override void AddCoreApplication()
        {
            //default
            AddApplicaitonDefault();
        }

        public override void UseCore()
        {
            UseWebApiDefault(endpointRoute: endpoint =>
            {
            });
        }
    }
}
